using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using DevExpress.XtraReports.UI;

namespace p301.Reports.SravnitAnalizProvKonsult
{
    public partial class PrintSravnitAnalizProvKonsult : DevExpress.XtraReports.UI.XtraReport
    {
        public PrintSravnitAnalizProvKonsult()
        {
            InitializeComponent();
        }

        public void Open(dsSravnitAnalizProvKonsult ds)
        {
            this.DataSource = ds;
            _printSravnitAnalizProvKonsultDetail.OpenSubReport(ds);
            _printSravnitAnalizProvKonsultYear.OpenSubReport(ds);
            this.ShowPreview(); 
        }
    }
}
